class CourseScore {
  double score;
  int peopleNum;
  List<int> scale;

  CourseScore({this.score, this.peopleNum, this.scale});

  CourseScore.fromJson(Map<String, dynamic> json) {
    score = json['score'];
    peopleNum = json['peopleNum'];
    scale = json['scale'].cast<int>();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['score'] = this.score;
    data['peopleNum'] = this.peopleNum;
    data['scale'] = this.scale;
    return data;
  }
}
